package com.tf_cut.admin.api.vo;

import javax.validation.constraints.NotBlank;

public class UserSign {

    @NotBlank(message = "appKey不能为空")
    private String appKey;
    @NotBlank(message = "idCardNum不能为空")
    private String idCardNum;
    @NotBlank(message = "idCardName不能为空")
    private String idCardName;
    @NotBlank(message = "mobile不能为空")
    private String mobile;
    @NotBlank(message = "currentTime不能为空")
    private String currentTime;
    @NotBlank(message = "sign不能为空")
    private String sign;

    private String idCardFrontPic;
    private String idCardBackPic;
    private String signPic;
    private String authPic;

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getIdCardNum() {
        return idCardNum;
    }

    public void setIdCardNum(String idCardNum) {
        this.idCardNum = idCardNum;
    }

    public String getIdCardName() {
        return idCardName;
    }

    public void setIdCardName(String idCardName) {
        this.idCardName = idCardName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCurrentTime() {
        return currentTime;
    }

    public void setCurrentTime(String currentTime) {
        this.currentTime = currentTime;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getIdCardFrontPic() {
        return idCardFrontPic;
    }

    public void setIdCardFrontPic(String idCardFrontPic) {
        this.idCardFrontPic = idCardFrontPic;
    }

    public String getIdCardBackPic() {
        return idCardBackPic;
    }

    public void setIdCardBackPic(String idCardBackPic) {
        this.idCardBackPic = idCardBackPic;
    }

    public String getSignPic() {
        return signPic;
    }

    public void setSignPic(String signPic) {
        this.signPic = signPic;
    }

    public String getAuthPic() {
        return authPic;
    }

    public void setAuthPic(String authPic) {
        this.authPic = authPic;
    }

    public String toSignStr(){
        return this.appKey+"&idCardNum=" + this.idCardNum +"&idCardName=" + this.idCardName+"&mobile=" + this.mobile+"&currentTime=" + this.currentTime;
    }
}
